module.exports = [
  {
    url: "/resource/resources_tree_me2",
    type: "get",
    response: (config) => {
      return {
        code: 20000,
        message: "",
        data: [
          {
            sign: "menu-data",
            id: "e576279b71c04005bede8d61360d11c9",
            children: [
              {
                id: "1c211c463c054917a273496273a72d4s",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "全屏测试",
                icon: "",
                sortIndex: 1,
                url: "/module1/full-screen",
                fields: [{ name: "fullscreen", description: "true" }],
              },
              {
                id: "a652df4fa89a48b680e7de623d8ff56b",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "消息服务",
                icon: "",
                sortIndex: 1,
                url: "/combat-readiness/message-service",
              },
              {
                id: "85ea4a0a9c4549b0a7e59d20dd8266d7",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "数据接入",
                icon: "",
                sortIndex: 2,
                url: "",
                children: [
                  {
                    id: "1c211c463c054917a273496273a72d45",
                    parentId: "85ea4a0a9c4549b0a7e59d20dd8266d7",
                    name: "数据库接入",
                    icon: "",
                    sortIndex: 1,
                    url: "/combat-readiness/data-access-database",
                  },
                  {
                    id: "f12479bfafac4a72b1ba640e60d0730d",
                    parentId: "85ea4a0a9c4549b0a7e59d20dd8266d7",
                    name: "接口接入",
                    icon: "",
                    sortIndex: 1,
                    url: "/combat-readiness/data-access-api",
                  },
                ],
              },
              {
                id: "b8c03f2ee34d4414817c0ad51a5e1e96",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "数据分发",
                icon: "",
                sortIndex: 3,
                url: "/combat-readiness/data-distribution",
              },
              {
                id: "2a387644a65145f68c83292e28cc4d2c",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "数据共享",
                icon: "",
                sortIndex: 4,
                url: "/combat-readiness/data-share",
              },
              {
                id: "450f3fddb9c744e6afa9dbef784a7fe5",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "数据汇聚",
                icon: "",
                sortIndex: 5,
                url: "/combat-readiness/data-aggregation",
              },
              {
                id: "99e060b009fb4c18a7df2fe7282a4b28",
                parentId: "e576279b71c04005bede8d61360d11c9",
                name: "数据可视化",
                icon: "",
                sortIndex: 6,
                url: "",
                children: [
                  {
                    id: "64da8a3103454b5c830c03e6d524f188",
                    parentId: "99e060b009fb4c18a7df2fe7282a4b28",
                    name: "汇聚统计",
                    icon: "",
                    sortIndex: 1,
                    url: "/combat-readiness/todayIndustry",
                  },
                  {
                    id: "24441bf8ae454a8bbb81c2f071ba380d",
                    parentId: "99e060b009fb4c18a7df2fe7282a4b28",
                    name: "汇聚总览",
                    icon: "",
                    sortIndex: 2,
                    url: "/combat-readiness/overView",
                  },
                  {
                    id: "f52aa3f33cf948d489128119a71755bc",
                    parentId: "99e060b009fb4c18a7df2fe7282a4b28",
                    name: "综合查询",
                    icon: "",
                    sortIndex: 3,
                    url: "/combat-readiness/unionSearch",
                  },
                ],
              },
              {
                id: "41684a89b4aa4ebfa12e4fc0f27eb2c7",
                parentId: "e576279b71c04005bede8d61360d11c9",
                icon: "",
                name: "数据质量",
                sortIndex: 7,
                url: "",
                children: [
                  {
                    id: "d3fc3183553441c9b45a30a36f6fec28",
                    parentId: "41684a89b4aa4ebfa12e4fc0f27eb2c7",
                    name: "数据质量",
                    icon: "",
                    sortIndex: 1,
                    url: "/combat-readiness/data-quality",
                  },
                  {
                    id: "a0129e70801d48179015058d008352c5",
                    parentId: "41684a89b4aa4ebfa12e4fc0f27eb2c7",
                    name: "异常记录",
                    icon: "",
                    sortIndex: 2,
                    url: "/combat-readiness/data-quality-error-logs",
                  },
                ],
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: "/resource/resources_tree_me",
    type: "get",
    response: (config) => {
      return {
        code: 20000,
        message: "",
        data: [
          {
            sign: "menu-data",
            children: [ 
              {
                id: 1,
                parentId: 0,
                name: "workplace",
                component: "workplace",
                path: "/dashboard/workplace",
                meta: {
                  title: "工作台",
                  icon: "el-icon-platform-eleme"
                },
              },
              {
                id: 2,
                parentId: 0,
                name: "project",
                component: "LayoutBlank",
                path: "/project",
                meta: {
                  title: "项目管理",
                  icon: "el-icon-phone",
                  redirect: "/project/project-list",
                },
                children: [
                  {
                    id: 20,
                    parentId: 2,
                    name: "project-list",
                    path: "/project/project-list",
                    component: "project-list",
                    meta: {
                      title: "项目列表",
                      icon: "el-icon-goods",
                    },
                    children: [],
                  },
                  {
                    id: 21,
                    parentId: 2,
                    name: "project-detail",
                    path: "/project/project-detail/:projName",
                    component: "project-detail",
                    meta: {
                      title: "项目详情",
                      icon: "el-icon-question",
                      activeMenu: "/project/project-list",
                      hidden: true,
                    },
                    children: [],
                  },
                  {
                    id: 22,
                    parentId: 2,
                    name: "project-import",
                    path: "/project/project-import",
                    component: "project-import",
                    meta: {
                      title: "项目导入",
                      icon: "el-icon-help",
                    },
                    children: [],
                  },
                ],
              },
              {
                id: 3,
                parentId: 0,
                name: "nav",
                path: "/nav",
                component: "LayoutBlank",
                redirect: "/nav/second-nav/third-nav",
                meta: {
                  title: "多级导航",
                  icon: "el-icon-picture",
                },
                children: [
                  {
                    id: 30,
                    parentId: 3,
                    name: "second-nav",
                    path: "/nav/second-nav",
                    redirect: "/nav/second-nav/third-nav",
                    component: "second-nav",
                    meta: {
                      title: "二级导航",
                      icon: "el-icon-camera",
                    },
                    children: [
                      {
                        id: 300,
                        parentId: 30,
                        name: "third-nav",
                        path: "/nav/second-nav/third-nav",
                        component: "third-nav",
                        meta: {
                          title: "三级导航",
                          icon: "el-icon-s-platform",
                        },
                        children: [],
                      },
                    ],
                  },
                  {
                    id: 31,
                    parentId: 3,
                    name: "second-text",
                    path: "/nav/SecondText",
                    redirect: "/nav/second-text/third-text",
                    component: "second-text",
                    meta: {
                      title: "二级文本",
                      icon: "el-icon-s-opportunity",
                    },
                    children: [
                      {
                        id: 310,
                        parentId: 31,
                        name: "third-text",
                        path: "/nav/second-text/third-text",
                        component: "third-text",
                        meta: {
                          title: "三级文本",
                          icon: "el-icon-menu",
                        },
                        children: [],
                      },
                    ],
                  },
                ],
              },
              {
                id: 4,
                parentId: 0,
                name: "components",
                path: "/components",
                component: "LayoutBlank",
                redirect: "/components/open-window-test",
                meta: {
                  title: "组件测试",
                  icon: "el-icon-phone",
                },
                children: [
                  {
                    id: 40,
                    parentId: 4,
                    name: "open-window-test",
                    path: "/components/open-window-test",
                    component: "open-window-test",
                    meta: {
                      title: "选择页",
                      icon: "el-icon-goods",
                    },
                    children: [],
                  },
                  {
                    id: 41,
                    parentId: 4,
                    name: "card-list-test",
                    path: "/components/card-list-test",
                    component: "card-list-test",
                    meta: {
                      title: "卡片列表",
                      icon: "el-icon-question",
                    },
                    children: [],
                  },
                  {
                    id: 42,
                    parentId: 4,
                    name: "table-search-test",
                    path: "/components/table-search-test",
                    component: "table-search-test",
                    meta: {
                      title: "表格搜索",
                      icon: "el-icon-question",
                    },
                    children: [],
                  },
                  {
                    id: 43,
                    parentId: 4,
                    name: "list-test",
                    path: "/components/list-test",
                    component: "list-test",
                    meta: {
                      title: "标签页列表",
                      icon: "el-icon-question",
                    },
                    children: [],
                  },
                ],
              },
              {
                id: 5,
                parentId: 0,
                name: "permission",
                path: "/permission",
                component: "LayoutBlank",
                redirect: "/permission/directive",
                meta: {
                  title: "权限管理",
                  icon: "el-icon-phone",
                },
                children: [
                  {
                    id: 50,
                    parentId: 5,
                    name: "directive",
                    path: "/permission/directive",
                    component: "directive",
                    meta: {
                      title: "指令管理",
                      icon: "el-icon-goods",
                      permission: ["add", "update", "remove"],
                    },
                    children: [],
                  },
                ],
              },
            ],
          },
        ],
      };
    },
  },
];
